StellarPay\Integrations\WooCommerce\Stripe\Controllers\PrePaymentProcessLegacyCheckout S

Total Complexity 22
Dependencies 9
Dependents 2
Total lines 176
Lines of code 81
Logical lines of code 44
Comment lines 59
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
__invoke()
A
46 8 40
isCustomerOptedInToPaymentInformation()
S
66 5 7
getSavedPaymentMethod()
S
62 3 11
getPaymentMethodTokenId()
S
65 2 9
handleOrderProcessing()
S
73 1 5
getNewPaymentMethodId()
S
78 1 3
isCustomerUsingNewPaymentMethod()
S
79 1 3
isCustomerOptedInToUseSavedPaymentMethod()
S
79 1 3